import {createBrowserRouter } from 'react-router-dom'
import Layout from '../pages/Layout'
import Login from '@/pages/Login'
import Authrouter from '../utils/AuthRoute'
const router = createBrowserRouter([
    {
        path:'/',
        element:<Authrouter><Layout></Layout></Authrouter>
    },
    {
        path:'/login',
        element:<Login></Login>
    }
])
export default router